export const getDaysInMonth = (month) => {
  let date = new Date();  
  return new Date(date.getFullYear(), month ? month : (date.getMonth() + 1), 0).getDate();  
}